package edu.isi.pedwork;

import java.io.File;

public class Configure {
	public static String dbPath = "jdbc:mysql://pedwork.isi.edu/twitter?user=lord&password=lord";
	public static String dbName = "twitter";
	public static String[] LLDArgs = { "-mode", "learning", "-idocs",
			"keyWords/train.txt", "-omodel", "keyWords/model.txt",
			"-otheta", "keyWords/theta.txt", "-iter", "2000", "-ophi",
			"keyWords/phi.txt", "-oterm", "keyWords/all.txt" };
	private static String path = "";
	private static final String train = "keyWords/train.txt";
	private static final String model = "keyWords/model.txt";
	private static final String theta = "keyWords/theta.txt";
	private static final String phi = "keyWords/phi.txt";
	private static final String term = "keyWords/term.txt";

	public static void updatePath(String path) {
		Configure.path = path;
		LLDArgs[3] = new File(path + train).getPath();
		LLDArgs[5] = new File(path + model).getPath();
		LLDArgs[7] = new File(path + theta).getPath();
		LLDArgs[11] = new File(path + phi).getPath();
		LLDArgs[13] = new File(path + term).getPath();
	}
}
